package com.yl.order.db.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Transient;

import java.io.Serializable;

/**
 * create by cjx on 2024/4/21
 * desc:
 */
@Entity
public class OrderGoodsEntity implements Serializable {

    @Transient
    public static final long serialVersionUID = -1L;
    @Id(autoincrement = true)
    private Long id;  //数据库自动增长id

    private String orderNo; // 订单编号

    private String orderSubNo; // 子订单编号

    private String productNumber; // 商品编码

    private String goodsName; // 商品名称

    private String goodsNumber; // 商品编码

    private String goodsIcon; // 商品图片

    private String specNumber; // 规格编码

    private String specName; // 规格名称

    private String remark; // 备注

    private String price; // 单价

    private int quantity; // 数量

    private int makeStatus; // 制作状态； 0：未制作，1：已制作，2：制作中；3：已删除

    private long updateTimeStamp; // 完成时间

    private String updateTime; // 更新时间

    private String result; // 出料情况
    private int resultLevel; // 出料情况级别
    @Generated(hash = 1289637785)
    public OrderGoodsEntity(Long id, String orderNo, String orderSubNo,
            String productNumber, String goodsName, String goodsNumber,
            String goodsIcon, String specNumber, String specName, String remark,
            String price, int quantity, int makeStatus, long updateTimeStamp,
            String updateTime, String result, int resultLevel) {
        this.id = id;
        this.orderNo = orderNo;
        this.orderSubNo = orderSubNo;
        this.productNumber = productNumber;
        this.goodsName = goodsName;
        this.goodsNumber = goodsNumber;
        this.goodsIcon = goodsIcon;
        this.specNumber = specNumber;
        this.specName = specName;
        this.remark = remark;
        this.price = price;
        this.quantity = quantity;
        this.makeStatus = makeStatus;
        this.updateTimeStamp = updateTimeStamp;
        this.updateTime = updateTime;
        this.result = result;
        this.resultLevel = resultLevel;
    }
    @Generated(hash = 1426674416)
    public OrderGoodsEntity() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getOrderNo() {
        return this.orderNo;
    }
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }
    public String getOrderSubNo() {
        return this.orderSubNo;
    }
    public void setOrderSubNo(String orderSubNo) {
        this.orderSubNo = orderSubNo;
    }
    public String getProductNumber() {
        return this.productNumber;
    }
    public void setProductNumber(String productNumber) {
        this.productNumber = productNumber;
    }
    public String getGoodsName() {
        return this.goodsName;
    }
    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
    public String getGoodsNumber() {
        return this.goodsNumber;
    }
    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber;
    }
    public String getGoodsIcon() {
        return this.goodsIcon;
    }
    public void setGoodsIcon(String goodsIcon) {
        this.goodsIcon = goodsIcon;
    }
    public String getSpecNumber() {
        return this.specNumber;
    }
    public void setSpecNumber(String specNumber) {
        this.specNumber = specNumber;
    }
    public String getSpecName() {
        return this.specName;
    }
    public void setSpecName(String specName) {
        this.specName = specName;
    }
    public String getRemark() {
        return this.remark;
    }
    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getPrice() {
        return this.price;
    }
    public void setPrice(String price) {
        this.price = price;
    }
    public int getQuantity() {
        return this.quantity;
    }
    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
    public int getMakeStatus() {
        return this.makeStatus;
    }
    public void setMakeStatus(int makeStatus) {
        this.makeStatus = makeStatus;
    }
    public long getUpdateTimeStamp() {
        return this.updateTimeStamp;
    }
    public void setUpdateTimeStamp(long updateTimeStamp) {
        this.updateTimeStamp = updateTimeStamp;
    }
    public String getUpdateTime() {
        return this.updateTime;
    }
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
    public String getResult() {
        return this.result;
    }
    public void setResult(String result) {
        this.result = result;
    }
    public int getResultLevel() {
        return this.resultLevel;
    }
    public void setResultLevel(int resultLevel) {
        this.resultLevel = resultLevel;
    }

   
}
